//
//  Tools.h
//  WGFGlobalHouses
//
//  Created by welldone on 15/5/10.
//  Copyright (c) 2015年 waiguofang. All rights reserved.
//

#import <Foundation/Foundation.h>
#import "StringTool.h"

@interface Tools : NSObject


+(UIImage*)getImgByColor:(UIColor*)color;

+(UIImage*)imageWithImageSimple:(UIImage*)image scaledToSize:(CGSize)newSize;

+(UIImage *)fixOrientation:(UIImage *)aImage;



+(int)getHightDifPMsW:(int)sw sh:(int)sh nw:(int)nw;

+(NSString*)milToDay:(long)mil;

+(NSString *)llmilToDay:(long long)mil;

+(NSString*)getFormNumber:(NSNumber*)data;

+(NSString*)getNowDate;

+(NSString*)getNowTime;

+(NSString*)getSingleFileName;

@end

